/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.reflection;

/**
 * <p>Project: jse2204 - User
 * <p>Powered by webrx On 2022-10-11 08:51:24
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */


public class User {
    private int id;
    private String name;

    public User() {
    }

    public User(int id) {
        this.id = id;
    }

    public User(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void show() {
        System.out.println("show()......" + this.id + this.name);
    }
}
